﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="View_DataList_1.aspx.cs" Inherits="AFCEPF.Samples.WebSamples.Controls.View_DataList_1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h3>
        DataList Bound to DATASET (with Formating)</h3>
    <br />
    <asp:DataList ID="DataList1" runat="server" CellPadding="2" CellSpacing="2" BorderStyle="inset"
        BackColor="#e8e8e8" Width="100%" headerstyle-font-name="Verdana" HeaderStyle-Font-Size="12pt"
        HeaderStyle-HorizontalAlign="center" HeaderStyle-Font-Bold="True" ItemStyle-BackColor="#778899"
        ItemStyle-ForeColor="#ffffff" AlternatingItemStyle-BackColor="#e8e8e8" AlternatingItemStyle-ForeColor="#000000"
        FooterStyle-Font-Size="9pt" FooterStyle-Font-Italic="True">
        <HeaderTemplate>
            My CD Catalog
        </HeaderTemplate>
        <ItemTemplate>
            "<%#Eval("title")%>" of
            <%#Eval("artist")%>
            - $<%#Eval("price")%>
        </ItemTemplate>
        <AlternatingItemTemplate>
            "<%#Eval("title")%>" of
            <%#Eval("artist")%>
            - $<%#Eval("price")%>
        </AlternatingItemTemplate>
        <FooterTemplate>
            &copy; AFCEPF.
        </FooterTemplate>
    </asp:DataList>
</asp:Content>
